package com.wxx;

/**
 * @author: Jetwang
 * @date: 2022/3/18 18:20
 * @description: ArrayGenerator 数组生成器
 * @version: 1.0
 */
public class ArrayGenerator {
    public static Integer[] generateOrderedArray(int n) {
        Integer[] arr = new Integer[n];
        for (int i = 0; i < n; i++) {
            arr[i] = i;
        }
        return arr;
    }
}
